package com.sparrow.source.persistense;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * @author bryceyung
 * @since 2024/11/16
 */
@TableName("fy_user")
@Data
public class FyUser {

    @TableId(value = "uid")
    private Integer uid;

    private String truename;

    private String tel;

    private String channel;

    @TableField(value = "source_id")
    private Integer sourceId;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @TableField(value = "sync_time")
    private Date syncTime;

}
